<?php
/* @var $this SiteController */

if (Yii::app()->session["user_id"] == null) {
    $this->redirect(array("site/index"));
}
$this->pageTitle = Yii::app()->name;
?>
<div class="panel">
    <div class="panel_header">
        <?php echo CHtml::image("images/comment1.png"); ?>
        <span>Comment</span>
    </div>
<?php
$this->widget('zii.widgets.CListView', array(
    'dataProvider' => $comment,
    'itemView' => '_ViewComment'
));
?>
</div>